#!/bin/sh

set -x

export HOST=`scontrol show hostname $SLURM_NODELIST | paste -sd ","`
mpirun --launcher=ssh --hosts $HOST $@
